package com.yyw.foodie.bo.users;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 易煜玮
 * @ClassName UserLoginBo.java
 * @Description 用户登录传输BO对象
 * @createTime 2021年05月23日 15:03:00
 */
@ApiModel(value = "用户登录BO类")
@Data
public class UserLoginBo {

    @ApiModelProperty(value = "用户名", required = true)
    @NotBlank(message = "请输入用户名")
    private String userName;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "请输入密码")
    private String passWord;
}
